[INFO] fetching crate sgx_alloc 1.1.1...
[INFO] checking sgx_alloc-1.1.1 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate sgx_alloc 1.1.1 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate sgx_alloc 1.1.1 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sgx_alloc 1.1.1
[INFO] finished tweaking crates.io crate sgx_alloc 1.1.1
[INFO] tweaked toml for crates.io crate sgx_alloc 1.1.1 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e5f0ac4e268eb2fc03d27076a3554afe0e9bdc294cbf6817bd17a5b86b11fbff
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "e5f0ac4e268eb2fc03d27076a3554afe0e9bdc294cbf6817bd17a5b86b11fbff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e5f0ac4e268eb2fc03d27076a3554afe0e9bdc294cbf6817bd17a5b86b11fbff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5f0ac4e268eb2fc03d27076a3554afe0e9bdc294cbf6817bd17a5b86b11fbff", kill_on_drop: false }`
[INFO] [stdout] e5f0ac4e268eb2fc03d27076a3554afe0e9bdc294cbf6817bd17a5b86b11fbff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f0c4b337578d857bae25e8d1d25942e8b6b5261de73df015c5520dd1b9ddff13
[INFO] running `Command { std: "docker" "start" "-a" "f0c4b337578d857bae25e8d1d25942e8b6b5261de73df015c5520dd1b9ddff13", kill_on_drop: false }`
[INFO] [stderr]     Checking sgx_alloc v1.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef`
[INFO] [stdout]   --> src/system.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | /     unsafe fn realloc(&mut self,
[INFO] [stdout] 79 | |                       ptr: core::ptr::NonNull<u8>,
[INFO] [stdout] 80 | |                       layout: Layout,
[INFO] [stdout] 81 | |                       new_size: usize) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         }
[INFO] [stdout] 94 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `AllocRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef`
[INFO] [stdout]   --> src/system.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | /     unsafe fn realloc(&mut self,
[INFO] [stdout] 79 | |                       ptr: core::ptr::NonNull<u8>,
[INFO] [stdout] 80 | |                       layout: Layout,
[INFO] [stdout] 81 | |                       new_size: usize) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |         }
[INFO] [stdout] 94 | |     }
[INFO] [stdout]    | |_____^ not a member of trait `AllocRef`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `alloc` has an incompatible type for trait
[INFO] [stdout]   --> src/system.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn alloc(&mut self, layout: Layout) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `NonNull`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut system::System, Layout) -> core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout]               found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `alloc_zeroed` has an incompatible type for trait
[INFO] [stdout]   --> src/system.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     fn alloc_zeroed(&mut self, layout: Layout)
[INFO] [stdout] 57 | |         -> Result<(NonNull<u8>, usize), AllocErr>
[INFO] [stdout] 58 | |     {
[INFO] [stdout] 59 | |         if layout.size() == 0 {
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |         }
[INFO] [stdout] 68 | |     }
[INFO] [stdout]    | |_____^ expected struct `NonNull`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut system::System, Layout) -> core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout]               found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/system.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 83 | /         match (layout.size(), new_size) {
[INFO] [stdout] 84 | |             (0, 0) => Ok((layout.dangling(), 0)),
[INFO] [stdout]    | |                       -------------------------- this is found to be of type `core::result::Result<(NonNull<u8>, usize), AllocErr>`
[INFO] [stdout] 85 | |             (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())),
[INFO] [stdout]    | |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `NonNull`
[INFO] [stdout] 86 | |             (_, 0) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |                 .map(|p| (p, new_size)),
[INFO] [stdout] 93 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout]               found enum `core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |             ptr: ptr.cast().into(),
[INFO] [stdout]     |                             ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:135:35
[INFO] [stdout]     |
[INFO] [stdout] 135 |             self.ptr = ptr.cast().into();
[INFO] [stdout]     |                                   ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:208:26
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 ptr: ptr.into(),
[INFO] [stdout]     |                          ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0407.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sgx_alloc`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0053]: method `alloc` has an incompatible type for trait
[INFO] [stdout]   --> src/system.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     fn alloc(&mut self, layout: Layout) -> Result<(NonNull<u8>, usize), AllocErr> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `NonNull`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut system::System, Layout) -> core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout]               found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `alloc_zeroed` has an incompatible type for trait
[INFO] [stdout]   --> src/system.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     fn alloc_zeroed(&mut self, layout: Layout)
[INFO] [stdout] 57 | |         -> Result<(NonNull<u8>, usize), AllocErr>
[INFO] [stdout] 58 | |     {
[INFO] [stdout] 59 | |         if layout.size() == 0 {
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |         }
[INFO] [stdout] 68 | |     }
[INFO] [stdout]    | |_____^ expected struct `NonNull`, found tuple
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut system::System, Layout) -> core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout]               found fn pointer `fn(&mut system::System, Layout) -> core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: `match` arms have incompatible types
[INFO] [stdout]   --> src/system.rs:85:23
[INFO] [stdout]    |
[INFO] [stdout] 83 | /         match (layout.size(), new_size) {
[INFO] [stdout] 84 | |             (0, 0) => Ok((layout.dangling(), 0)),
[INFO] [stdout]    | |                       -------------------------- this is found to be of type `core::result::Result<(NonNull<u8>, usize), AllocErr>`
[INFO] [stdout] 85 | |             (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())),
[INFO] [stdout]    | |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `NonNull`
[INFO] [stdout] 86 | |             (_, 0) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 92 | |                 .map(|p| (p, new_size)),
[INFO] [stdout] 93 | |         }
[INFO] [stdout]    | |_________- `match` arms have incompatible types
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `core::result::Result<(NonNull<u8>, usize), _>`
[INFO] [stdout]               found enum `core::result::Result<NonNull<[u8]>, _>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:114:29
[INFO] [stdout]     |
[INFO] [stdout] 114 |             ptr: ptr.cast().into(),
[INFO] [stdout]     |                             ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:135:35
[INFO] [stdout]     |
[INFO] [stdout] 135 |             self.ptr = ptr.cast().into();
[INFO] [stdout]     |                                   ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Unique<T>: From<NonNull<_>>` is not satisfied
[INFO] [stdout]    --> src/alignbox.rs:208:26
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 ptr: ptr.into(),
[INFO] [stdout]     |                          ^^^^ the trait `From<NonNull<_>>` is not implemented for `Unique<T>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Unique<T> as From<&mut T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Unique<T>>` for `NonNull<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0407.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "f0c4b337578d857bae25e8d1d25942e8b6b5261de73df015c5520dd1b9ddff13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0c4b337578d857bae25e8d1d25942e8b6b5261de73df015c5520dd1b9ddff13", kill_on_drop: false }`
[INFO] [stdout] f0c4b337578d857bae25e8d1d25942e8b6b5261de73df015c5520dd1b9ddff13
